﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Users;

namespace Sim
{
    //public delegate void DelegateNewUser();
    public delegate void DelegateLogin(string username, string password);
    //public delegate int DelegateSignUp(User u);
    public delegate void DelegateNewSignUpWindow();
    public delegate void DelegateNewTournament(Tournament t);
    public delegate void DelegateRefreshList();

    public interface IMain
    {
        //event DelegateNewUser EventNewUser;
        event DelegateLogin EventLogin;
        event DelegateNewSignUpWindow EventNewSignUpWindow;
        event DelegateNewTournament EventNewTournament;
        event DelegateRefreshList EventRefreshList;
        //event DelegateSignUp EventSignUp;
    }
}
